[void][System.Reflection.Assembly]::loadfile("$(pwd)\OpenNETCF.Desktop.Communication.dll")
$ns = "OpenNETCF.Desktop.Communication"
$rapi = New-Object "${ns}.rapi"
$rapi.Connect($true)

"Connected: " + $rapi.Connected